﻿{include file="public/header"/}
<script type="text/javascript">
    var auths_group = "{$auths_group}";
    $(document).ready(index_obj.index);
</script>
<input type="hidden" name="controllername" value="{$Request.controller|strtolower}">
<input type="hidden" name="actionname" value="{$Request.action|strtolower}">
<section id="container" class="">
    <header class="header white-bg">
        <div class="sidebar-toggle-box">
            <div data-original-title="wechat" data-placement="right" class="icon-reorder tooltips"></div>
        </div>
        <!--logo-->
        <a href="{:url('Index/home')}" class="logo">We<span>Chat</span></a>
        <!-- 菜单 -->
        <div class="nav notify-row" id="top_menu">
            <ul class="nav top-menu">

            </ul>
        </div>
        <!-- 搜索和登录 -->
        <div class="top-nav">
            <ul class="nav pull-right top-menu">
                <li class="dropdown">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <!-- <img alt="" src="__STATIC__/member/bootstrap/img/avatar1_small.jpg"> -->
                        <span class="username">{$Think.session.loginer_auth.username}</span>
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu extended logout">
                        <li><a href="{:url('Index/changepasswd')}"><i class="icon-key"></i>修改密码</a></li>
                        <li><a href="{:url('User/logout')}"><i class="icon-unlock"></i>退出登录</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </header>
    <aside>
        <div id="sidebar" class="nav-collapse">
            <ul class="sidebar-menu">

                <li class="sub-menu" data-model="wechat">
                    <a href="javascript:;">
                        <i class="icon-comments"></i>
                        <span>我的微信</span>
                        <span class="arrow "></span>
                    </a>
                    <ul class="sub">
                        <li class="auth pay fileupload"><a href="{:url('Wechat/auth')}">微信基本配置</a></li>
                        <li class="url urladd"><a href="{:url('Wechat/url')}">系统链接列表</a></li>
                    </ul>
                </li>

                <li class="sub-menu" data-model="mall">
                    <a href="javascript:;">
                        <i class="icon-comments"></i>
                        <span>后台管理</span>
                        <span class="arrow"></span>
                    </a>
                    <ul class="sub">
                        <li class="carousel"><a href="{:url('Mall/carousel')}">首页轮播</a></li>
                        <li class="config"><a href="{:url('Mall/config')}">基础设置</a></li>
                        <li class="order orderdetail"><a href="{:url('Mall/order')}">订单列表</a></li>
                        <li class="vip"><a href="{:url('Mall/vip')}">用户列表</a></li>
                    </ul>
                </li>
            </ul>
            <!-- sidebar menu end-->
        </div>
    </aside>
    <section id="main-content">
        {block name="body"}{/block}
    </section>
</section>
{include file="public/footer"/}

